
from typing import Dict, Any

class ChatError(Exception):
    pass

class ChatService:
    
    def __init__(self, logger, config: Dict[str, Any]):
        """初始化升级服务
        
        Args:
            work_dir: 工作目录路径
            logger: 日志记录器
            config: 模块配置
        """
        self.logger = logger
        self.config = config
            
    